<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="../estilos/style.css" rel="stylesheet" type="text/css" />
<title>LABTEC - Agregar Laboratorio</title>
<%@ taglib prefix="s" uri="/struts-tags"%>
</head>
<body>
	<div id="header">
		    <jsp:include page="../jsp/menuAdministrador.jsp" />
	</div>
	<div class="sheet">
		<div class="sheet-tl"></div>
		<div class="sheet-tr"></div>
		<div class="sheet-bl"></div>
		<div class="sheet-br"></div>
		<div class="sheet-tc"></div>
		<div class="sheet-bc"></div>
		<div class="sheet-cl"></div>
		<div class="sheet-cr"></div>
		<div class="sheet-cc"></div>
		<div class="sheet-body">
			<!-- ********************* LOGUEO DE ERRORES *********************-->
			<s:if test="hasActionErrors()">
				<div class="error">
					<s:actionerror />
				</div>
			</s:if>
			<s:if test="hasFieldErrors()">
				<div class="error">
					<s:fielderror />
				</div>
			</s:if>
			<br />
			<s:form action="altaLaboratorioAction">
				<p>&nbsp;</p>
				<table width="100%">
					<tr>
						<td colspan="2" class="postmetadataheader">
							<h2 class="postcontent">Agregar nuevo Laboratorio</h2>
						</td>
					</tr>
					<tr>

						<td><s:select label="Departamento" name="depto"
								required="true" listKey="codDepto" listValue="nombreDepto"
								list="departamentoList" /></td>

						<td><s:textfield label="Nombre del laboratorio"
								name="nombreLab" required="true" maxlength="20" /></td>
					</tr>
					<tr align="left">
						<td><s:textfield label="Iniciales" name="iniciales"
								required="true" maxlength="20" /></td>
					</tr>
					<tr></tr>
					<tr align="right">
						<td colspan="4"><s:submit value="Guardar" /></td>
					</tr>
				</table>
				<p>&nbsp;</p>
			</s:form>
		</div>
	</div>
</body>
</html>